/*
 * @Description:
 * @Version: 2.0
 * @Autor: wangmiao
 * @Date: 2022-07-22 13:50:37
 * @LastEditors: wangmiao
 * @LastEditTime: 2022-07-22 15:43:36
 */
export interface ResType<T> {
  code?: number;
  data?: T;
  Data?: T;
  msg?: string;
  err?: string;
  Status?: number;
  StatusInfo?: any;
  Success?: boolean;
}
export interface Http {
  get<T>(url: string, params?: unknown): Promise<ResType<T>>;
  post<T>(url: string, params?: unknown): Promise<ResType<T>>;
}
